package com.icbc.hook0913

import android.os.Bundle
import android.widget.Button
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity

class MainAct : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.act_main)
        findViewById<Button>(R.id.mainButton).setOnClickListener {
            Toast.makeText(this, "别点了,再点我就咬你了...", Toast.LENGTH_SHORT).show()
        }
    }
}